home *** CD-ROM | disk | FTP | other *** search
- Path: mer-news.ctron.com!vo
- From: vo@ctron.com (Huy Vo)
- Newsgroups: comp.lang.c
- Subject: Re: compilers
- Date: 21 Mar 1996 22:19:08 GMT
- Organization: Cabletron Systems Inc.
- Message-ID: <4iskksINNqu4@mer-news.ctron.com>
- References: <4iburm$aps@airdmhor.gen.nz>
- Reply-To: vo@porthos.ctron.com (Huy Vo)
- NNTP-Posting-Host: porthos.ctron.com
-
- In article <4iburm$aps@airdmhor.gen.nz> gumboot@airdmhor.gen.nz (Simon Hosie) writes:
- > Does anyone know of a compiler that can take
- >
- >for (;;)
- >{
- > Stuff(1);
- > if (Cond)
- > break;
- > Stuff(2);
- >}
- > and make
- >goto EntryPoint;
- >do
- >{
- > Stuff(2);
- >EntryPoint:
- > Stuff(1);
- >} while (Cond);
-
-
-
-
-
-
- If you don't like for(;;) and stuff() is simply a function call
-
- for (stuff(1); !Cond; ) {
- stuff(2);
- stuff(1);
- }
-
-
-
-
-
-
-
-
-
- --
- Huy Vo
- vo@ctron.com
-